package com.jnshu.dto.admin;

import lombok.Data;

import javax.validation.constraints.NotEmpty;

/**
 * @author Martin
 * @date 2019/8/15 9:09
 * 表现层数据封装对象
 */
@Data
public class PasswordVo {

    @NotEmpty(message = "旧密码不能为空")
    private String oldPassword;

    @NotEmpty(message = "新密码不能为空")
    private String newPassword;
}
